package lab02.test37;

/**
 * Created by Adminitrator on 2017/11/20.
 */
    public abstract class Student {
    //姓名、类别
    String name;
    String type;
    double[] scores=new double[3];
    String status;
    //平均成绩
    double calAverage(){
        return (scores[0]+scores[1]+scores[2])/3;
    }
    abstract String calgrade();
}
